package cn.kgc.springboot.vue.controller;

import cn.kgc.springboot.vue.response.ResponseResult;
import cn.kgc.springboot.vue.service.ScoreService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 课工场
 * @date 2025/1/2
 * @description  数据可视化控制层
 */
@RestController
@RequestMapping("dataVisual")
public class DataVisualController {

    @Resource
    private ScoreService scoreService;

    @GetMapping("score")
    public ResponseResult  scoreVisual(){

      return   scoreService.scoreVisual();

    }

}
